\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0pt}%
\usetikzlibrary{automata}%

\begin{document}
\pagestyle{empty}
%
%
%

\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',join=bevel,]
\tikzstyle{every state}=[draw=blue!50,very thick,fill=blue!20]%
\node (q0) at (1673bp,1046bp) [state] {$q_{0}$};
  \node (q22) at (456bp,356bp) [state] {$q_{22}$};
  \node (q21) at (333bp,106bp) [state] {$q_{21}$};
  \node (q20) at (90bp,194bp) [state] {$q_{20}$};
  \node (q19) at (73bp,302bp) [state] {$q_{19}$};
  \node (q18) at (73bp,410bp) [state] {$q_{18}$};
  \node (q17) at (983bp,194bp) [state] {$q_{17}$};
  \node (q16) at (983bp,302bp) [state] {$q_{16}$};
  \node (q15) at (997bp,410bp) [state] {$q_{15}$};
  \node (q14) at (1171bp,106bp) [state] {$q_{14}$};
  \node (q13) at (1625bp,248bp) [state] {$q_{13}$};
  \node (q12) at (1676bp,410bp) [state] {$q_{12}$};
  \node (q11) at (1204bp,356bp) [state] {$q_{11}$};
  \node (q10) at (1369bp,518bp) [state] {$q_{10}$};
  \node (q9) at (997bp,518bp) [state] {$q_{9}$};
  \node (q8) at (103bp,518bp) [state] {$q_{8}$};
  \node (q7) at (801bp,464bp) [state] {$q_{7}$};
  \node (q6) at (944bp,606bp) [state] {$q_{6}$};
  \node (q5) at (1795bp,18bp) [state] {$q_{5}$};
  \node (q4) at (1255bp,694bp) [state] {$q_{4}$};
  \node (q3) at (1255bp,782bp) [state] {$q_{3}$};
  \node (q2) at (1361bp,870bp) [state] {$q_{2}$};
  \node (q1) at (1673bp,958bp) [state] {$q_{1}$};
  \draw [->] (q22) ..controls (495bp,327bp) and (526bp,299bp)  .. (540bp,266bp) .. controls (563bp,215bp) and (584bp,184bp)  .. (548bp,142bp) .. controls (537bp,128bp) and (429bp,116bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#escalateTask}$} (q21);
  \draw [->] (q21) ..controls (302bp,107bp) and (298bp,108bp)  .. (294bp,108bp) .. controls (265bp,110bp) and (258bp,113bp)  .. (229bp,118bp) .. controls (131bp,133bp) and (18bp,94bp)  .. (18bp,194bp) .. controls (18bp,518bp) and (18bp,518bp)  .. (18bp,518bp) .. controls (18bp,602bp) and (687bp,598bp)  .. (771bp,602bp) .. controls (797bp,602bp) and (804bp,603bp)  .. (829bp,604bp) .. controls (855bp,605bp) and (885bp,605bp)  .. node[auto] {$\tau$} (q6);
  \draw [->] (q21) ..controls (504bp,95bp) and (1194bp,52bp)  .. (1758bp,20bp) .. controls (1758bp,20bp) and (1758bp,20bp)  .. node[auto] {$\tau$} (q5);
  \draw [->] (q20) ..controls (111bp,166bp) and (125bp,150bp)  .. (141bp,142bp) .. controls (168bp,127bp) and (249bp,116bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask}$} (q21);
  \draw [->] (q19) ..controls (62bp,270bp) and (57bp,248bp)  .. (63bp,230bp) .. controls (65bp,226bp) and (67bp,221bp)  .. node[auto] {$taskManagementProcessAndNextTaskManagerForTMPPortPlkVar#nextTaskReady$} (q20);
  \draw [->] (q18) ..controls (73bp,375bp) and (73bp,350bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#notifyTaskCompletion}$} (q19);
  \draw [->] (q17) ..controls (968bp,166bp) and (965bp,152bp)  .. (973bp,142bp) .. controls (994bp,118bp) and (1082bp,110bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask}$} (q14);
  \draw [->] (q16) ..controls (972bp,279bp) and (970bp,272bp)  .. (968bp,266bp) .. controls (965bp,250bp) and (965bp,245bp)  .. (968bp,230bp) .. controls (969bp,227bp) and (970bp,224bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q17);
  \draw [->] (q15) ..controls (992bp,375bp) and (989bp,350bp)  .. node[auto] {$\tau$} (q16);
  \draw [->] (q15) ..controls (984bp,388bp) and (983bp,383bp)  .. (981bp,374bp) .. controls (979bp,360bp) and (979bp,344bp)  .. node[auto] {$\tau$} (q16);
  \draw [->] (q14) ..controls (1128bp,106bp) and (1110bp,107bp)  .. (1102bp,108bp) .. controls (1016bp,114bp) and (928bp,107bp)  .. (928bp,194bp) .. controls (928bp,518bp) and (928bp,518bp)  .. (928bp,518bp) .. controls (928bp,538bp) and (932bp,560bp)  .. node[auto] {$\tau$} (q6);
  \draw [->] (q14) ..controls (1297bp,87bp) and (1644bp,39bp)  .. node[auto] {$\tau$} (q5);
  \draw [->] (q13) ..controls (1603bp,233bp) and (1600bp,231bp)  .. (1596bp,230bp) .. controls (1551bp,215bp) and (1421bp,241bp)  .. (1384bp,212bp) .. controls (1359bp,191bp) and (1384bp,163bp)  .. (1360bp,142bp) .. controls (1338bp,122bp) and (1257bp,112bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask}$} (q14);
  \draw [->] (q12) ..controls (1727bp,454bp) and (1798bp,525bp)  .. (1756bp,570bp) .. controls (1729bp,597bp) and (1137bp,605bp)  .. node[auto] {$\tau$} (q6);
  \draw [->] (q12) ..controls (1734bp,386bp) and (1795bp,353bp)  .. (1795bp,302bp) .. controls (1795bp,302bp) and (1795bp,302bp)  .. (1795bp,106bp) .. controls (1795bp,85bp) and (1795bp,63bp)  .. node[auto] {$\tau$} (q5);
  \draw [->] (q11) ..controls (1174bp,338bp) and (1165bp,330bp)  .. (1160bp,320bp) .. controls (1154bp,305bp) and (1149bp,295bp)  .. (1160bp,284bp) .. controls (1194bp,249bp) and (1549bp,280bp)  .. (1596bp,266bp) .. controls (1596bp,266bp) and (1597bp,266bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q13);
  \draw [->] (q10) ..controls (1447bp,490bp) and (1580bp,444bp)  .. node[auto] {$\tau$} (q12);
  \draw [->] (q10) ..controls (1343bp,487bp) and (1322bp,464bp)  .. (1303bp,446bp) .. controls (1278bp,421bp) and (1249bp,395bp)  .. node[auto] {$\tau$} (q11);
  \draw [->] (q9) ..controls (997bp,483bp) and (997bp,458bp)  .. node[auto] {$\tau$} (q15);
  \draw [->] (q9) ..controls (1073bp,496bp) and (1192bp,463bp)  .. (1294bp,446bp) .. controls (1419bp,424bp) and (1570bp,415bp)  .. node[auto] {$\tau$} (q12);
  \draw [->] (q8) ..controls (73bp,501bp) and (63bp,492bp)  .. (58bp,482bp) .. controls (52bp,468bp) and (55bp,450bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#setOutputAndComplete}$} (q18);
  \draw [->] (q7) ..controls (779bp,449bp) and (776bp,447bp)  .. (772bp,446bp) .. controls (747bp,438bp) and (312bp,447bp)  .. (293bp,428bp) .. controls (282bp,416bp) and (283bp,404bp)  .. (293bp,392bp) .. controls (309bp,373bp) and (376bp,363bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q22);
  \draw [->] (q6) ..controls (1058bp,603bp) and (1322bp,593bp)  .. (1351bp,570bp) .. controls (1358bp,564bp) and (1362bp,555bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q10);
  \draw [->] (q6) ..controls (951bp,577bp) and (956bp,564bp)  .. (962bp,554bp) .. controls (965bp,549bp) and (969bp,544bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q9);
  \draw [->] (q6) ..controls (810bp,602bp) and (414bp,590bp)  .. (290bp,570bp) .. controls (235bp,560bp) and (174bp,542bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q8);
  \draw [->] (q6) ..controls (860bp,598bp) and (730bp,585bp)  .. (717bp,570bp) .. controls (704bp,554bp) and (747bp,511bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q5) ..controls (1857bp,45bp) and (1879bp,60bp)  .. (1879bp,106bp) .. controls (1879bp,870bp) and (1879bp,870bp)  .. (1879bp,870bp) .. controls (1879bp,906bp) and (1768bp,936bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q4) ..controls (1175bp,671bp) and (1042bp,634bp)  .. node[auto] {$\tau$} (q6);
  \draw [->] (q4) ..controls (1396bp,687bp) and (1833bp,662bp)  .. (1833bp,606bp) .. controls (1833bp,606bp) and (1833bp,606bp)  .. (1833bp,106bp) .. controls (1833bp,83bp) and (1822bp,60bp)  .. node[auto] {$\tau$} (q5);
  \draw [->] (q3) ..controls (1255bp,752bp) and (1255bp,736bp)  .. node[auto] {$\overline{taskManagementProcessAndPreviousProcessTaskManagerForTMPPortPlkVar#nextTaskReady}$} (q4);
  \draw [->] (q2) ..controls (1307bp,858bp) and (1266bp,846bp)  .. (1256bp,834bp) .. controls (1251bp,827bp) and (1250bp,818bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#create}$} (q3);
  \draw [->] (q1) ..controls (1593bp,935bp) and (1460bp,898bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#createTask}$} (q2);
  \draw [->] (q0) ..controls (1673bp,1016bp) and (1673bp,1000bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
%
\end{tikzpicture}
% End of code

%
\end{document}
%


